package treazy.ultimate.stats;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class UltiSystemsActivity extends Activity {
	/** Called when the activity is first created. */
	private Button teams;
	private Button viewTourneys;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ultisystems);
		
		teams = (Button)findViewById(R.id.teams);
		teams.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				startActivity(new Intent(getApplicationContext(), ViewTeamsActivity.class));		
				
			}
		});
		
		viewTourneys = (Button)findViewById(R.id.viewtournaments);
		viewTourneys.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				startActivity(new Intent(getApplicationContext(), ViewTournamentsActivity.class));		
				
			}
		});
		
	}
}
